package com.buaa.aimall.goodsModule.DTO;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;

import java.util.List;

import lombok.Data;

@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class CreateOrdersFromCartRequestDTO {
    @Valid
    @NotEmpty(message = "购物车商品ID列表不能为空")
    private List<String> cartItems;

    private String modelCouponId;

    private String computeCouponId;
} 